package com.ruicar.afs.cloud.channel.affiliation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.channel.affiliation.entity.ChannelAffiliatedUnitsTemp;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @author panhj
 * @date 2020/05/19
 */
@Data
public class ChannelAffiliatedUnitsTempVo extends ChannelAffiliatedUnitsTemp {
    private Integer channelNumber;
    private String relStatus;
    private String channelId;
    private String relId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date channelTermValidity;
}